/*
 *  Cero Project - Copyright   2006 The Cero Developement Team 
 *  (Michael Laguerre, Camille Roux, Matthieu Segret, Mathieu Sivade) 
 * 
 *  This program is free software; you can redistribute it and/or modify it 
 *  under the terms of the GNU General Public License as published by the Free 
 *  Software Foundation; either version 2 of the License, or (at your option) 
 *  any later version.
 * 
 *  This program is distributed in the hope that it will be useful, but 
 *  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
 *  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 
 *  for more details.
 */

package org.ceroproject.ui.commandline;

/**
 * Interface offrant des fonctions pour �crire sur le flux de sortie
 * 
 * @author Mathieu Sivade
 */
public interface OutputWriter {
	/**
	 * Ecrit la chaine 'str' sur une nouvelle ligne du flux de sortie
	 * 
	 * @param str
	 *            Erreur � �crire
	 */
	void println(String str);

	/**
	 * Ecrit l'objet 'obj' sur une nouvelle ligne du flux de sortie
	 * 
	 * @param obj
	 *            Erreur � �crire
	 */
	void ecrireln(Object obj);
}
